package com.fzf.org.service;


import com.fzf.org.dto.resp.blog.DraftDTO;
import com.fzf.org.dto.req.draft.DraftReqDTO;
import com.fzf.org.dto.resp.blog.PictureCheckRespDTO;
import com.fzf.org.page.PageRequest;
import com.fzf.org.page.PageResponse;
import org.springframework.web.multipart.MultipartFile;

public interface DraftsService {

    PageResponse<DraftDTO> listUsersDrafts(PageRequest pageRequest);

    DraftDTO showDraftDetail(Long draftID);

    Long createNewDraft();

    void saveBlogDraft(DraftReqDTO draftID);

    void delBlogDraft(Long draftID);

    Long pubBlogDraft(DraftReqDTO draftID);

    PictureCheckRespDTO uploadPic(MultipartFile pic, Long draftId);
}
